import { createApp } from 'vue'
// import { ElButton, ElSelect, ElCard, ElUpload, ElDialog, ElForm, ElFormItem, ElInput, ElCheckbox, ElPagination, ElCascader } from 'element-plus'
import ElementPlus from 'element-plus'
// import lang from 'element-plus/lib/locale/lang/zh-cn'
import 'dayjs/locale/zh-cn'
import locale from 'element-plus/lib/locale/lang/zh-cn'
import './styles/index.less'
import App from './App.vue'
import router from './router/index'
import store from './store/index'
import 'element-plus/lib/theme-chalk/index.css'
import './assets/icons/iconfont/iconfont.css'
// import '../theme/index.css'
// import filters from './utils/filter'

import './permission'

// locale.use(lang)
// filters(Vue)
const app = createApp(App)
app
  .use(ElementPlus, { locale })
  .use(store)
  .use(router)
  .mount('#app')
